package cn.sciento.farm.devicemanager.service;

import cn.sciento.farm.devicemanager.dao.entity.DevTimer;

import java.util.List;

public interface TimerService {
    int insert(DevTimer devTimer);

    int updateById(DevTimer devTimer);

    int deleteById(long id);

    List<DevTimer> getByControllerId(long controllerId);

    int deleteByControllerId(long controllerId);


    DevTimer getById(long id);

}
